package com.jule.miaozhuapc.service;

import com.jule.miaozhuapc.domain.WawaUser;
import org.json.JSONObject;

import java.util.SortedMap;

/**
 *  ping++ 支付
 */
public interface PingPayService {

    public JSONObject createCharge(WawaUser user, Long payConfigId, String channel);

    public SortedMap<Object, Object> wxCharge(WawaUser user, Long payConfigId, String channel);


    /**
     * S1 服务器代充值
     * @param openId
     * @param payConfigId s1充值比例
     * @param channel
     * @param s1UserId  s1用户Id
     * @return
     */
    public SortedMap<Object, Object> wxS1Charge(String openId, Long payConfigId, String channel, Long s1UserId);
}
